package com.cxt.service;

//import com.baomidou.entity.TripOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cxt.dto.OrderDto;
import com.cxt.entity.TripInfo;
import com.cxt.entity.TripOrder;
import com.cxt.vo.OrderInfoVo;
import com.cxt.vo.OrderListVo;

/**
 * <p>
 * 行程订单表 服务类
 * </p>
 *
 * @author baomidou
 * @since 2025-02-27
 */
public interface ITripOrderService extends IService<TripOrder> {

    void add(TripInfo one);

    OrderListVo getOrderList();

    OrderInfoVo getOrderVo(Long id);

    OrderListVo getOrderListDriver();

    boolean payTripOrder(OrderDto order);
}
